<template>
	<view>
		<view class="goodsItem">
			<image class="goodsImg" src="../../../static/home/QAImg.png" mode="scaleToFill"></image>
			<view class="goodsName">奶茶</view>
			<view class="goodsBottom">
				<view class="goodsIntegral">100积分</view>
				<view class="exchangeNumber">已换100份</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.goodsItem {
		width: calc(50% - 15rpx);
		margin-bottom: 40rpx;

		.goodsImg {
			width: 100%;
			height: 328rpx;
		}

		.goodsName {
			font-family: PingFang SC, PingFang SC;
			font-weight: 500;
			font-size: 32rpx;
			color: #000000;
			margin-top: 20rpx;
			margin-bottom: 10rpx;
		}

		.goodsBottom {
			display: flex;
			align-items: center;
			justify-content: space-between;

			.goodsIntegral {
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 24rpx;
				color: #F00000;
			}

			.exchangeNumber {
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 24rpx;
				color: #979797;
			}
		}
	}
</style>